set active_item to NULL when freeing widget list