Changed an important bug in DBOperator - in cursorToWifi-method. Refactored getTowerId and getRoomId in DBCelltowerEntry. In RoomCheckin I searched for bugs. I created some variables to get values before we check on them - to make it easier to debug. I also changed some lt and gt, hopefully getting it right. I also made an errorcheck on the input argument as this was causing a NullPointerException. Debugging is not finished and algorithm not working at this point. But we will get there.