[COOK-2382] Fix foodcritic warnings.

- Use strings rather than symbols when accessing attrs,
- Declare a default action, and
- Use new notification sytle.