added flash statement for bought status