Added line drawing to main activity