Re-render application index on state changes