making clearfavorites and clearhistory work - sarah