Button API V2.1

Bug correction : toggle was not working