Added the Function for Popular Button 

Popular button get values from the sql databse