add new method in Pattern for state to state transitions
create icons for play/pause/restart