Fix button control issue

In the state that do not also select one favorite, fixed a problem that
is pressing Delete button.
Merge pull request #6 from abatR/training2

Fix button control issue