Remove and ignore IntelliJ files.
Update gradle wrapper.
Extract class. Refactor a bunch of code. Fix defects.

I approached this thinking I would just have to fix some defects, but the original code was a big mess dumped into a single file so I ended up refactoring just about everything. I tried not to add too much new UX or behavior, however I did add a ProgressBar while the data is "loading" because it looked broken otherwise. One behavior I considered adding was proper support for rotation, however I thought it would be beyond the scope of what was asked. I introduced some small design patterns (mainly around the SQL methods), but if this were a real app I would be using frameworks to accomplish or avoid these patterns.

I fixed many individual issues which I considered as aggregate, but you may consider to be one of the nine. Hopefully I addressed all nine in my modifications.

Here are some issues I addressed along the way
	* Fix naming convention for variables/members (inverted in many cases)
	* Remove redundant List of Place in MainActivity (already in PlaceAdapter and not used anywhere else)
	* Use BaseColumns._ID instead of "_id" (not necessarily wrong, but convention)
	* Don't set _id (primary key autoincrement) column when inserting Place (error: PRIMARY KEY must be unique)
	* db null check is not necessary because it cannot be null from getWritableDatabase()
	* Close database when finished
	* Use ViewHolder pattern for ListView Adapter instead of inflating the row xml every time
	* Fix AsyncTask memory leak by making class static and using weak reference to activity