#525 fix NPE handling push registration when app is killed
wire up the settings delegate
#512 sign out now working