Add functions for enabling/disabling comparison buttons
Merge branch 'DDBNEXT-821-3' into develop