Fix #300 by checking if the activity is in FG before displaying the alert about Jetpack needed.
Code style update.
Merge pull request #301 from wordpress-mobile/issue-300

Fix #300 by checking if the activity is in FG before displaying the alert about Jetpack needed.