Deactivated Button when is showing materials