getting the first of the settings table that is active