Added disabled state to stop and cancel buttons when switching between
record and pause