added history search and fixed theme