working on clearing history
implemented clear history button, improved ui