Some Fix

Fix buttons behavior.
Link pauseRecord fnction to pauseRecord button