Fixed Bug 1348593 where setData(d) function had rendering issues
because of caching of data

Change-Id: I89dea1262b49526b59a1ada63f6a67852b74e5bd