made the button unclickable when the position is not saved