Fix: Set proper forward/back links for newly added activities.