GCP-8024 Re-use "getCurrentUserLocalId()" method, remove newly added variables and method.
Removed if-condition for instantiating lock/unlock button since they might be referenced in other code
Changed Export methods from "this.getWindow() or this.getApplication()" to "source.getXXX()" to avoid NPE