Revert "Revert "Update OnClickClass.java""

This reverts commit 0dc7cdd937cb49ccb32e02d6348cd48542ed54f4.