Added alert to display notification when app is in foreground