add pause state,back to menu state