Fixed the button to call OnIdle.