restore the status when we slide the menu after click the button
resolve some bugs