Update documentation for setAction. fixed #38