theme: move all isDarkTheme calls to application

Change-Id: I0fb4a185e3f01c21b8626a48bf6fc08b12544b13