Added play, pause, and reset buttons with event handling.