ui buttons mostly working, but opening itemViewer then disables other buttons