Moved functionality from fragment to activity
Don't need anymore