Fix button state when creating subkeys widget
(cherry picked from commit bbb69c5831878c3be0e9c9dbcc3a79452e1a4755)