Button & TabbedLayout changes

button setData and setEnabled functions
some utility functions for TabbedLayout