Update main.js

Show pause button when recording to pause recording