Add handlers for theme events