change theme and add a exit confirm