update the project to work with newest SDK and Android Studio 0.5.2.