Added functionality to the cursor to choose levels