President says Govt. has taken measures to solve problems of farming communities