Update trayfun.vala

Updated reco function