Make BuildInfo object move to and from all the places

Store and retrieve from shared prefs as Set<String>
Tighen up possible NPE in QueryHelper
Override some class methods in BuildInfo