Hide buttons when no file is selected