added onClick-Method and hope that it finally works like I want it