Solved problem: exception raised on click

Added a variable required by the regionClick event handler. It threw an exception, requiring regionClickEvent to be defined