test button image onplatform working with resource dictionary