update show/hide solution functionality

Added 'enable' and 'disable' functionality to show/hide solution buttons to prevent locking in show/hide states.