draw gradient background when applicationDidBecomeActive
put gradient background behind