Add check for making sure theme exists for device

Change-Id: I9b178cebbb2834cd0c86088c8e78678f55d14e62