added and refactored status of activity and apply