added callbacks, removed callback from GOOG.appstate