Fix event handlers for dynamic home content