Added Save button to prefferences