Remove old prefrences file and add new one