update SunSpotApplication, CallerStateMachine