added 'pause' button in the layout