clear up unneccessary styles, libs and stuff. Fix previous preferences not showing in the application