QuickSearchBox: code cleanup

Change-Id: I8d1f70f0d6e9c6713631327f20143edc5038ccdb