Added action to magnifying glass

Search button now has action assigned to it