median filter added
Modify the backButton text of last Question
Last Commit User Email check
versions not using filter

1. comment median filter code
2. add median reducing code
FINAL VERSION WITH COMPARISON MODE JUST FOR EXPERIMENT

1. avg mode
2. median mode
3. comparison these two mode

All data will send to server
Normal Version only apply the avg mode
Add Bed Report Comfirm Mechism
Modify BedTime Timepicker and backservice

Still has some lists to do
Trigger Morning Report/Random Survey Changed

Need do more tests to see whether it works or not.
Random Survey Schedule Changed

Start Time will be fixed on the time when starting the APP
Add Alarm Mechnism to PinCheckActivity/config bedtime alarm

1. add alarm following the same pattern of survey alarm
2. when survey starts, it will cancel all the alarmtasks set in the
pinCheck Activity
3. for the Morning trigger part, add if-statement to do the following:
If time is before 6 A.M, it means the users might be overnight, so set
day be the sameday, otherwise set it to next day.
Override OnDestroy to disable the alarm and do the garbage collection
Add functions to trigger morning for every day even if bed comfirm is not set
#bugs fix setReapting mode is added for one pending intent
Move some final strings to Sensor Service class
Add Flag (setStatus(...)/getStatus()) to control the random survey only be triggered when starting the background service
Merge pull request #6 from RickyShi/master

2/6-2/14