moved settings to modal popup and implemented cache cleanup & database reset