Using toggle_reference_section in statements Selenium tests

The method "wait_for_referencesToggle" has been removed in a previous change set.
It has been replaced by "toggle_references_section".

Change-Id: Ib6abb24483b70a877be177eab8f0f72ca6e207c4