This commit closes #224 and fixes #252. Calling `setButtons` with `leftButton` object still works for now but is deprecated and will be removed in future version.