Changed settings to update immediately after hitting OK.