Fixed project button enabling and disabling