Re-implemented the Home Screen detection