I Have also noted that when I installed Reprap's Discount Smart Controller LCD I had to include NEWPANEL for the rotary click encoder to operate correctly.
#define #define REPRAP_DISCOUNT_SMART_CONTROLLER
#define NEWPANEL //enable this if you have a click-encoder panel
and these helped me with the LCD
#define SPI_SPEED SPI_HALF_SPEED
#define SD_CHECK_AND_RETRY
#define ENCODER_PULSES_PER_STEP 4
#define #define REPRAP_DISCOUNT_SMART_CONTROLLER
#define NEWPANEL //enable this if you have a click-encoder panel
and these helped me with the LCD
#define SPI_SPEED SPI_HALF_SPEED
#define SD_CHECK_AND_RETRY
#define ENCODER_PULSES_PER_STEP 4