updated SavedActivity.java