created method to get like state once implemented, no longer adding index to avItem, instead getting it using separate method