Fix possible crash(es) when pressing ToC button.

(and other overflow menu buttons, when a page might still be loading)

Change-Id: I31421c4190f63064386f1c7a7c32bbd9892dc8ed