Origin setting saving functionality done.