Implemented setting of loop for sequencer.