Initialize to use with Android Studio, add Function to buttons