added option btnClassName to enable users to set class of button