enabling and disabling of repo menu buttons