add isActive to View