Replace standard method with AppCompat method