Corrected functionality (and DOM) to remove app from homescreen.