Fix updating button options with mergeOptions (#6219)
Updating button options with mergeOptions stopped working in 6.5.0. The regression was introduced by #6090. When updating buttons, RNN didn't take button options into account when checking if two buttons are equal, instead it checked only by button id.
closes #6205
Co-authored-by: Yogev Ben David <yogev132@gmail.com>