Lincoln man takes plea deal in court for attempting to entice minor through social media