Added autolayout rules in dark view