Added the possibilty to edit a rhythm