added Repeat button, not fully functional yet