add giveup fuction, fixed GOmenu's back button bug