Use buffer to resolve visual glitch on android
Type fixes

Several type related errors came up when compiling tv scheduler app, this fixes them
Fixes for the touch agent

The lock was retained in some cases preventing other elements to lock the agent