Fixing the badge view programmatic initialization and fixing a naming conflict.