Update Sample Code

Updated onActionClicked Sample code to reflect changes of: 27aa620f178da3cb6a35c6641081d43856962f03