add functionality for undo button on the remote control