bottom buttons now work functionally and are disabled when needed