Add click action javadocs and coding style