switched dashboard activity to be fragmentactivity