Added preference save implementation for simple preferences based store