Inhanced some view, theme preference function to be continued
Added themes table