If you are sure those id's reference buttons, try ...
# android
l
If you are sure those id's reference buttons, try
findViewById<Button>
instead of casting to button