Move Dialog UI into MainActivity

Move the creation of the dialog and managing of preference into MainActivity as it make more sense within the Android design paradigm. Needed to add a callback for when the available partitions are loaded.
Show current partition in tile