push setting store to context
implemented preferences
added preference sample