changed println in electking(View view) to view.addText()