Added an undo button

Only works for a single picture currently