fixed blinking history on selecting a history item
added simple loading indicator
improve loading indicator
added clear history button and functionality and cleand up history
implementation