Preview now working

Repeat button and slider still to do