Added support for using only two buttons and updated example project.