Fixed SDK compatibility issues with SDK 20, support only for 19 until bugs are removed.