Added setup preference and check in main screen