16x2 LCD showing garbage values after switching relay

@vishal_3, do not cross-post. Threads merged.