Seperated my changeLine function to be two seperate functions to set the cursor to the first or second line and implemented these functions.