changing where button is on index