Some unneccessary parts removed because we have isInstalling() now