PRD-4101: register for the view button click event earlier