Created select query for retriving all notmoved gps data.
Fixed bug in hotspot insertion.