EnableButtons function updated. Prevent clicking on stop if not
recording for example. (It would make the app crash)