set up methods to start activity on clicking the item
add refresh function to dynamically update the recyclerview with new data from main thread