It gets it from however it is set up in the project properties. If you want it as a user setting, then store the preference in a db table and reading it upon start.