TODO
Put the preference loading in the onStart method