main activity and interaction with list