Fix bug when click on record button ( temporary solution )