Added Pause function & UI