Add set_active method in helper