fix setting current_controller in ApplicationDelegate