fix the issue that app will crash when sending notification

add singleTask launch mode to start app from notification normally
enhance the stability

remove switch account in setting

add registering state