Removed toggleLoop, replaved with pause and unpause