Gaurav | previousStatusButton method duplication removed