New: Cleaned up StudentDetailsPageAction, correct the previous code   #1916