Added saving of set changing preferences for button presses