TIMOB-892-Move the code that set the property out of UI thread

https://jira.appcelerator.org/browse/TIMOB-892
Move the code that set the visible property out of UI thread so that it will be updated immediately instead of waiting again to execute on the main thread.