added listener on preference value change so we know when to update summary with current value
added value initialization when creating settings activity