show/hide database selector based on number of databases