Added toggle function to like and friend button