now only shows localnotification when app is in background