Added save and load defaults functionality