ID property for buttons, duplicate button check, minor refactoring
ID property for buttons, duplicate button check, minor refactoring

sureshkonteti/WebWorks-Samples,blackberry/WebWorks-Samples,blackberry/WebWorks-Community-Samples,blackberry/WebWorks-Community-Samples,sureshkonteti/WebWorks-Samples,blackberry/WebWorks-Community-Samples