added tuneIn and sleep before after application becomes active, to make sure there is no lost session in case the server bounced.