db must be initialized before creating of filter_panel