Bug fix

Fixed a bug where the recipe button may not work correctly.