No need to assign page icon dynamically

Also removed unnecessary comments
Remove addToHistory() method