deviceready and resume are good here, working on the restart, set log on init to test