1) fix for crash
1) minor fix for showing pressed image for button correctly

2) fix for invisble uis catching events
1) creating checkboxes from xml