adding ability save preferences