Adds more buttons and works on a cursor function