adding value on preferences.xml and adding array.xml on values for
storing array