Reading tax setting from preferences and using in calculation