App installation inactive when some installation is going on

Need Decision: 
1)Where should the setting to revoke all inactive installation for the cases when some installation is stuck.
2) Should we make the button inactive or not show the button at  all, as we can change the inactive state by going to inspect element.