Usually, a StaleElementReferenceException is thrown when:
1. The element has been deleted entirely or
2. The element is no longer attached to the DOM
So by clicking on an element, if there is a change in DOM structure, then you have to simply re-initialize ( using initElements() ) all the elements for further use.