fix got theme style not getting applied

Moved getApplicatonContext() to this so that activity context is taken
where theme is applied