Add setCurrentFilter function in HelperState.
Show messagebox if measurement is started without reference.
Add event handler for reference filter change.