fix(reconnect): moved updateinitdone to bufferviewconfig init since that is the last part of the init process now. Also removed unused ssl references in Service
updated build files for new android studio version
Merge branch 'master' into ayonix-feat/reconnect
added more debug log statements to main and login activity to help identify activity lifecycle bugs
fixed issue with main activity going into an infinite reboot loop if disconnected while connecting
Cleaned up some of the notification code, it did not behave as it should. Like not dismissing the persistent notification when you disconnected
create a new notification manager each time we connect to the core

We want to do this because the notificationmanager has some logic that removes old notification when it is created
fixed issue with reconnecting multiple times on wifi state change
Fix XML syntax error in preferences file.
Merge branch 'sandsmark/master'

* sandsmark/master:
  updated build files for new android studio version
Merge remote-tracking branch 'sandsmark/ayonix-feat/reconnect'

* sandsmark/ayonix-feat/reconnect:
  fixed issue with reconnecting multiple times on wifi state change
  create a new notification manager each time we connect to the core
  Cleaned up some of the notification code, it did not behave as it should. Like not dismissing the persistent notification when you disconnected
  fixed issue with main activity going into an infinite reboot loop if disconnected while connecting
  added more debug log statements to main and login activity to help identify activity lifecycle bugs
  fix(reconnect): moved updateinitdone to bufferviewconfig init since that is the last part of the init process now. Also removed unused ssl references in Service