Refactor buttonUpdate_Click () in EditPosition