Code

Updated gray out behaviour