Load correct page actions images

Hide page action icons on page load and then show once the correct
classes have been added. Also cache jquery selectors.

Take care of the issues at I359eaa45d82193ac3133daa425d83c3e4b0c1fea

Bug: T74851
Change-Id: Ideb4398c203fb7a10bac8a32e0862013202d0f68
Merge "Load correct page actions images"