Using rootView.getContext() because getApplicationContext() didn't work (it was probably missing information about theme)