using the manager variable that already is initiated in the mainactivity now instead of fetching it again