fix #1008: fix a npe when a user refresh Notifications after revoking the Android App

fix #1008: fix a npe when a user refresh Notifications after revoking the Android App