Added function to mark item as bought

temporary solution!