Once postCallback is set and forceRefresh is set as false, then the response
does not come back to callback handler.
Fix: Corrected the logic to handle the response back to the handler.

Change-Id: Ib507862f75384a0fbe8903c97422ff43d889464d
(cherry picked from commit 520269a95cef7be9802b7b63c450621bda1df692)

If postCallback is set, then sending response creates error
Fix: Corrected the typo error

Change-Id: I71a752ab8715f060cee4d9dafb67ce3ba1b0d330
(cherry picked from commit 58c94605a402e74a71693fce2fb4fef1d593d298)