Hi so I released my app a few months ago and it all was working fine and to a degree it still does. On devices running lower than android 5 everything is fine. But I tested
You need to use .equals to compare the objects.
.equals
== check if it's the same object not if the objects hold the same value, more info here
==
Your code shoud look like:
if(Word1.getDrawable().getConstantState().equals(getResources().getDrawable( R.drawable.img9).getConstantState())