change date appointment way in GUI