added proper logic to enable install button